﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_OutBound.cs
// 创建时间：2016/12/4
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///出库单表(ERP_OutBound)数据实体
	/// </summary>
	[Serializable]
	public class ERP_OutBound
	{
		#region 变量定义
		
		///<summary>
		///出库单ID
		///</summary>
		private int _boundId;
		
		///<summary>
		///出库单编号
		///</summary>
		private string _boundNo = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _deliveryNo = String.Empty;
		
		///<summary>
		///库房ID
		///</summary>
		private int _storeRoomId;
		
		///<summary>
		///制单人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///制单时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checkUser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkDate = String.Empty;
		
		///<summary>
		///0、1、2
		///</summary>
		private int _state;
		
		///<summary>
		///客户ID
		///</summary>
		private int _customerId;
		
		///<summary>
		///销售计划ID
		///</summary>
		private int _salesId;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///出库单表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_OutBound()
		{
 
		}
		///<summary>
		///出库单表
		///</summary>
		public ERP_OutBound
		(
			int boundId,
			string boundNo,
			string deliveryNo,
			int storeRoomId,
			string inUser,
			string inDate,
			string checkUser,
			string checkDate,
			int state,
			int customerId,
			int salesId,
			string remark
		)
		{
			_boundId     = boundId;
			_boundNo     = boundNo;
			_deliveryNo  = deliveryNo;
			_storeRoomId = storeRoomId;
			_inUser      = inUser;
			_inDate      = inDate;
			_checkUser   = checkUser;
			_checkDate   = checkDate;
			_state       = state;
			_customerId  = customerId;
			_salesId     = salesId;
			_remark      = remark;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///出库单ID
		///</summary>
		public int BoundId
		{
			get {return _boundId;}
			set {_boundId = value;}
		}

		
		///<summary>
		///出库单编号
		///</summary>
		public string BoundNo
		{
			get {return _boundNo;}
			set {_boundNo = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DeliveryNo
		{
			get {return _deliveryNo;}
			set {_deliveryNo = value;}
		}

		
		///<summary>
		///库房ID
		///</summary>
		public int StoreRoomId
		{
			get {return _storeRoomId;}
			set {_storeRoomId = value;}
		}

		
		///<summary>
		///制单人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///制单时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string CheckUser
		{
			get {return _checkUser;}
			set {_checkUser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string CheckDate
		{
			get {return _checkDate;}
			set {_checkDate = value;}
		}

		
		///<summary>
		///0、1、2
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///客户ID
		///</summary>
		public int CustomerId
		{
			get {return _customerId;}
			set {_customerId = value;}
		}

		
		///<summary>
		///销售计划ID
		///</summary>
		public int SalesId
		{
			get {return _salesId;}
			set {_salesId = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
	
		#endregion
		
	}
}